package cn.kwq.project_manger.pojo.dto;

import cn.kwq.project_manger.pojo.Project;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "项目返回对象")
public class ResProJDto {
    @ApiModelProperty("项目信息")
    private Project project;
    @ApiModelProperty("关联的标签集合")
    private List<String> tags;
    @ApiModelProperty("关联的图片路径集合")
    private List<String> imgUrl;
    @ApiModelProperty("被收藏人数")
    private Long likes;
}
